/**
 * 请求数据获取
 * @author xiaoqiang <465633678@qq.com>
 * @created 2018/11/01 13:32:11
 */
const Koa = require('koa')
const app = new Koa()

app.use(async (ctx) => {
  ctx.body = {
    url: ctx.url,
    req_query: ctx.request.query,
    req_querystring: ctx.request.querystring,
    query: ctx.query,
    querystring: ctx.querystring
  }
}).listen(9999)